from tools import Tools
from mispconn.utils import CFG

MAX_ID = 1902
MIN_ID = 1845

misp = Tools.init_misp(url=CFG['misp']['url'], key=CFG['misp']['key'])

for i in range(MIN_ID, MAX_ID):
    res = misp.delete_event(i)
